package com.coding365.service.user.dao;

import com.coding365.service.user.entity.LagouAuthCode;
import com.coding365.service.user.entity.LagouToken;
import com.sun.jersey.api.core.ParentRef;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LagouTokenMapper {

    LagouToken selectLagouTokenWithEmail(String email);

    void insertLagouToken(@Param("tok")LagouToken token);

    void updateLagouToken(@Param("email") String email, @Param("token")String token);
}
